package com.guigu.youxuan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.guigu.youxuan.common.utils.PageUtils;
import com.guigu.youxuan.pojo.SupplierInfo;
import com.guigu.youxuan.pojo.Warehouse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liweixin
 * @since 2024-05-15
 */
public interface ISupplierInfoService extends IService<SupplierInfo> {

    /**
     *查询所有信息
     * @param pageNo
     * @param pageSize
     * @param supplierInfo
     * @return
     */
    PageInfo<SupplierInfo> getSupplierList(int  pageNo, int pageSize,SupplierInfo supplierInfo);

    /**
     * 复核查询
     * @param supplierInfo
     * @param pageNo
     * @param pageSize
     * @return
     */
    PageUtils<SupplierInfo> supplierInfoFuHePage(SupplierInfo supplierInfo, int pageNo, int pageSize);

    /**
     *
     * @param supplierInfo
     */
    void delBySupplierId(SupplierInfo supplierInfo);
    /**
     * 供应商资料维护带所登录的用户id查询供应商数据
     * @param sysUsersId
     * @return
     */
    SupplierInfo  getByIdform(int sysUsersId);


}
